<template>
	<view class="ad">
		<view v-for="(item, idx) in src" :key="idx"><image :src="item" style="width:100%;" mode="widthFix"></image></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: []
			};
		},
		onLoad(option) {
			this.src = option.src.split(',').map(item => option.url + item)
		},
	}
</script>

<style lang="scss" scoped>
.ad {
	display: flex;
	flex-direction: column;
	image {
		display: block;
	}
}
</style>
